package hr.fer.zemris.ShopFloor;

import java.util.ArrayList;

public class Shop {
	private ArrayList<Job> jobs = new ArrayList<Job>();
	private int n;
	
	private void generateShop() {
		for(int i = 0; i < n; i++) 
			jobs.add(new Job());
	}
	
	public Shop(int n) { 
		this.n = n; 
		generateShop();
		}
	
	public ArrayList<Job> getAllJobs() {
		return jobs;
	}
	
	public Job getJob(int index) {
		return jobs.get(index);
	}	
}
